package org.example.B1.condition;

import com.github.oxo42.stateless4j.delegates.FuncBoolean;

public class GuardCondition {
    private boolean empty;

    public FuncBoolean isEmpty() {return () -> empty;}

    public FuncBoolean hasWater() {
        return () -> !empty;
    }

    public void setEmpty(boolean empty) {
        this.empty = empty;
    }
}
